package com.xes.attend;

import com.xes.attend.config.ServerConfig;
import com.xes.attend.rd60n.JCRD60N;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Configuration
@EnableAutoConfiguration
@EnableScheduling
@EnableConfigurationProperties({ ServerConfig.class })
@ImportResource(locations = "application-config.xml")
public class AttendClientApplication {

	public static void main(String[] args) {
		JCRD60N client = new JCRD60N();
		client.run();
		SpringApplication.run(AttendClientApplication.class, args);
	}
}
